Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODMenuBar


SetItemString

Mac OS

The SetItemString method sets the text string for the specified menu item.

void SetItemString (in ODCommandID cmdNumber,
                    in ODIText itemString);
cmdNumber
The command ID of the menu item to be changed. On the Mac OS platform, the command ID is defined as a signed 32-bit value.
itemString
The desired text string for the specified menu item.
SEE ALSO
The ODCommandID type (page 895).
The ODIText type (page 875).
Listing 2-30 on page 86 in OpenDoc Cookbook.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help